package com.example.verification.service.impl;

import com.example.verification.mapper.RoleMapper;
import com.example.verification.model.Role;
import com.example.verification.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author rcl
 * @date 2019/8/15 10:26
 */
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    RoleMapper roleMapper;

    @Override
    public List<Role> getRoleList() {
        return roleMapper.getRoleList();
    }
}
